package com.cinyi.cyds.base.bean;

import java.util.List;

/**
 * session information
 * 
 * @author penghui
 * 
 */
public class SessionInfo implements java.io.Serializable {
    /**
     * 用户ID
     */
	private String id;
	/**
	 * 用户登录名
	 */
	private String name;
	/**
	 * 用户IP
	 */
	private String ip;

	/**
	 *  用户可以访问的资源地址列表
	 */
	private List<String> resourceList;

	public List<String> getResourceList() {
		return resourceList;
	}

	public void setResourceList(List<String> resourceList) {
		this.resourceList = resourceList;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Override
	public String toString() {
		return this.name;
	}

}
